[%if count($array) > 0%]
[%forlist from=$array key=list%]
<div class="infolist" title="[%$array[list].templatename%] - [%$array[list].templatecode%]">
	<table border="0" style="border-collapse:collapse" width="100%" bordercolor="#FFFFFF">
		<tr>
			<td width="8%">[%$array[list].tmid%]</td>
			<td width="8%">[%$array[list].lng%]</td>
			<td width="22%">[%$array[list].templatename%]</td>
			<td width="25%">[%$array[list].templatecode%]</td>
			<td width="12%">[%$array[list].typeclass%]</td>
			<td width="12%">[%$array[list].fileclass%]</td>
			<td id="infotype">
				<table border="0" style="border-collapse:collapse" bordercolor="#FFFFFF">
					<tr>
						<td>
							<a class="setedit2" onclick="javascript:checkinput('[%$array[list].templatecode%]')" href="#body" hidefocus="true">[%$ST.selecttempfile_botton%]</a>
						</td>
						
					</tr>
				</table>
			</td>
		</tr>
	</table>
</div>
[%/forlist%]
[%else%]
<div class="infolist">
	<table border="0" style="border-collapse:collapse" width="100%" bordercolor="#FFFFFF">
		<tr>
			<td align="center">[%$ST.list_nothing_title%]</td>
		</tr>
	</table>
</div>
[%/if%]